package com.ccp.dev.workflow.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;
import com.ccp.dev.system.model.GlobalType;
import com.ccp.dev.workflow.model.BpmDefAuthorize;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 分管授权Dao
 * @author zhanghuichao zhhchyouxiang@126.com
 * @date 2019/7/9 9:43
 */
public interface BpmDefAuthorizeDao extends IBaseMapper<BpmDefAuthorize,String> {
    /**
     * 根据流程描述获取
     * @param queryFilter
     * @return
     */
    Integer getCountByDesc(QueryFilter queryFilter);

    /**
     * 根据流程列表反查流程分类列表
     * @param flowList
     * @return
     */
    List<GlobalType> getFlowTypeByFlow(@Param("flowList") List<String> flowList);
}
